package com.sample.plove.database.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;

/**
 * PackageName:com.sample.plove.database.model
 * Author:Administrator
 * Time:21:48
 * Date:2019/5/18
 * Describe:vip卡片类型实体类
 */
@Entity
@Table(name = "pv_c_ty_tb")
@Setter
@Getter
@ToString
public class CardTypeEntity implements Serializable {

    private static final long serialVersionUID = 2664285476757517328L;
    @Id
    @GeneratedValue
    @Column(name = "ty_id")
    private int id;

    @Column(name = "ty_name")
    private String typeName;

    @Column(name = "ty_info")
    private String typeInfo;
}
